using System;
using System.Runtime.CompilerServices;

namespace ClownFish
{
	public class PagingInfo
	{
		[CompilerGenerated]
		private int int_0;

		[CompilerGenerated]
		private int int_1;

		[CompilerGenerated]
		private int int_2;

		public int PageIndex
		{
			get;
			set;
		}

		public int PageSize
		{
			get;
			set;
		}

		public int TotalRecords
		{
			get;
			set;
		}

		public int CalcPageCount()
		{
			if (this.PageSize != 0 && this.TotalRecords != 0)
			{
				return (int)Math.Ceiling((double)this.TotalRecords / (double)this.PageSize);
			}
			return 0;
		}
	}
}
